package com.fms;

import javax.swing.WindowConstants;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

import com.fms.gui.templateCreator.CreateTemplateForm;

public class SprintTwoRun
{
	public static void main(String[] args)
	{
		
       BeanFactory  factory = new  XmlBeanFactory(new  ClassPathResource("META-INF/SprintTwo.xml"));
        
       CreateTemplateForm gui = (CreateTemplateForm) factory.getBean("FlowSheetCreationForm");
       
       gui.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
       gui.setVisible(true);
       
       
        
        
	}

	
}
